Crate ntex_rt[][src]

Expand description

A runtime implementation that runs everything on the current thread.

Modules

TCP/UDP/Unix bindings

Asynchronous signal handling

Task management.

Structs

Arbiters provide an asynchronous execution environment for actors, functions and futures. When an Arbiter is created, it spawns a new OS thread, and hosts an event loop. Some Arbiter functions execute on the current thread.

Builder struct for a ntex runtime.

Single-threaded runtime provides a way to start reactor and runtime on the current thread.

System is a runtime manager.

Helper object that runs System’s event loop

Functions

Spawn a future on the current thread. This does not create a new Arbiter or Arbiter address, it is simply a helper for spawning futures on the current thread.

Executes a future on the current thread. This does not create a new Arbiter or Arbiter address, it is simply a helper for executing futures on the current thread.